package org.example;

import javax.sql.DataSource;
import java.sql.Connection;

public interface TransactionFactory {


    Transaction getTransaction(Connection connection);


    Transaction getTransaction(DataSource dataSource,boolean autoCommit);



}
